.class Lcom/xiaomi/notes/NoteListActivity$2;
.super Ljava/lang/Object;
.source "NoteListActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/xiaomi/notes/NoteListActivity;->initListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/xiaomi/notes/NoteListActivity;


# direct methods
.method constructor <init>(Lcom/xiaomi/notes/NoteListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 403
    iput-object p1, p0, Lcom/xiaomi/notes/NoteListActivity$2;->this$0:Lcom/xiaomi/notes/NoteListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2
    .parameter
    .parameter "view"
    .parameter "position"
    .parameter "id"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 407
    .local p1, adapter:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    iget-object v0, p0, Lcom/xiaomi/notes/NoteListActivity$2;->this$0:Lcom/xiaomi/notes/NoteListActivity;

    invoke-static {v0}, Lcom/xiaomi/notes/NoteListActivity;->access$000(Lcom/xiaomi/notes/NoteListActivity;)I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 424
    :goto_0
    :pswitch_0
    return-void

    .line 410
    :pswitch_1
    long-to-int v0, p4

    invoke-static {v0}, Lcom/xiaomi/notes/NoteListActivity;->isFolder(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 411
    iget-object v0, p0, Lcom/xiaomi/notes/NoteListActivity$2;->this$0:Lcom/xiaomi/notes/NoteListActivity;

    long-to-int v1, p4

    invoke-static {v1}, Lcom/xiaomi/notes/NoteListActivity;->getFolderIdFromDBID(I)I

    move-result v1

    invoke-static {v0, v1}, Lcom/xiaomi/notes/NoteListActivity;->access$102(Lcom/xiaomi/notes/NoteListActivity;I)I

    .line 412
    iget-object v0, p0, Lcom/xiaomi/notes/NoteListActivity$2;->this$0:Lcom/xiaomi/notes/NoteListActivity;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/xiaomi/notes/NoteListActivity;->setState(I)V

    goto :goto_0

    .line 414
    :cond_0
    iget-object v0, p0, Lcom/xiaomi/notes/NoteListActivity$2;->this$0:Lcom/xiaomi/notes/NoteListActivity;

    invoke-static {v0, p4, p5}, Lcom/xiaomi/notes/NoteListActivity;->access$200(Lcom/xiaomi/notes/NoteListActivity;J)V

    goto :goto_0

    .line 407
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
